package com.swfee.qinben.util;


/**
 * @author ddr
 *
 */
public class PasswordUtils {

	public static  String  passToBase64Double(String password){
		String pass = Base64.encode(password.getBytes());
		String pass2 = (Base64.encode(pass.getBytes()));
		return pass2;
	}
	
	public static  String  base64DoubleToPass(String base64Double){
		String pass1 = new String(Base64.decode(base64Double));
		String pass = (  new String(Base64.decode(pass1)));
		return pass;
	}
}
